package com.ctgu.server.dao.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @projectName: ctguqmx_server
 * @package: com.ctgu.server.dao.dto
 * @className: FromDto
 * @author: Kvzjj
 * @description: TODO
 * @date: 2023/6/5 20:43
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@ApiModel(value = "FromDto", description = "组织信息请求参数")
public class FromDto {
//    @ApiModelProperty(value = "报名表主键")
////    @NotNull(message = "表单ID不能为空")
//    private String Id;

    @ApiModelProperty(value = "报名表标题")
    private String Title;

    @ApiModelProperty(value = "报名人员限制范围")
    private String Scope;

    @ApiModelProperty(value = "报名人员ID列表")
    private List<String> GroupList;

    @ApiModelProperty(value = "报名类型")
    private String Type;

    @ApiModelProperty(value = "报名表状态(0 , 锁定  1，激活)")
    private Integer Status;

    @ApiModelProperty(value = "人数限制")
    private Integer UserLimit;

    @ApiModelProperty(value = "报名表描述")
    private String Overview;

    @ApiModelProperty(value = "报名表描述")
    @NotEmpty(message = "用户Id不能为空")
    private String userId;

    @ApiModelProperty(value = "开始时间")
    private Date Begin;

    @ApiModelProperty(value = "结束时间")
    private Date End;
}
